using System;
using AmazeUI.Imodel;

namespace AmazeUI.db
{
    public partial class Qixi
    {
        public Qixi()
        {
            
        }

        public Qixi(IQixi model)
        {
            SetModel(model);
            this.Date = DateTime.Now;
        }

        public void SetModel(IQixi model)
        {
            this.Name1 = model.Name1;
            this.Name2 = model.Name2;
            this.Img1 = model.Img1;
            this.Img2 = model.Img2;
            this.Remarks = model.Remarks;
        }
    }
}